(eval-defun): Explain special handling of `defface'.
authorRichard M. Stallman <rms@gnu.org>
Tue, 10 Jul 2007 01:07:03 +0000 (01:07 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 10 Jul 2007 01:07:03 +0000 (01:07 +0000)
lisp/emacs-lisp/lisp-mode.el

index 73379a816d78eeababd02418c8a3001647bdb216..374d3ae2327e90ec06c00ad9f6a2d41a8bdf5b26 100644 (file)
@@ -730,7 +730,9 @@ If the current defun is actually a call to `defvar' or `defcustom',
 evaluating it this way resets the variable using its initial value
 expression even if the variable already has some other value.
 \(Normally `defvar' and `defcustom' do not alter the value if there
-already is one.)
+already is one.)  In an analogous way, evaluating a `defface'
+overrides any customizations of the face, so that it becomes
+defined exactly as the `defface' expression says.
 
 If `eval-expression-debug-on-error' is non-nil, which is the default,
 this command arranges for all errors to enter the debugger.